/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
import javax.swing.JMenuItem;

/**
 *
 * @author alrz
 */
public class Window extends JFrame implements ActionListener {
    
    private MenuBar menuBar;
    
    public Window()
    {
        super("Tetravex");
        super.setSize(900, 600);
        super.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        super.setLayout(new BorderLayout());
        
        this.menuBar = new MenuBar();
        super.setJMenuBar(this.menuBar);
        
        Zone game = new Zone();
        this.add(game,BorderLayout.CENTER);
        game.createGame();
        
        
        
    }
    
    
    
    @Override
    public void actionPerformed(ActionEvent e)
    {
        
    }
}
